import { defineStore } from "pinia";

export interface indexStore {
  demoName: string;
}
export const useNavStore = defineStore("index", {
  state: (): indexStore => ({
    demoName: "",
  }),
  actions: {
    setDemoName(name: string) {
      this.demoName = name;
    },
  },
  getters: {
    DemoName: (state) => state.demoName,
  },
});
